﻿using System.Drawing;
using aboveXWords.Properties;

namespace aboveXWords.GUI
{
  internal class Painter
  {
    public static Painter Colors = new Painter();

    public Painter()
    {
      BlackBrush = new SolidBrush(Settings.Default.BlackColor);
      LetterBackgroundBrush = new SolidBrush(Settings.Default.LetterBackgroundColor);
      LetterBrush = new SolidBrush(Settings.Default.LetterColor);
      NumberBrush = new SolidBrush(Settings.Default.NumberColor);
      QuestionBrush = new SolidBrush(Settings.Default.QuestionColor);
      QuestionNotFitBrush = new SolidBrush(Settings.Default.QuestionNotFitColor);
      SentenseBrush = new SolidBrush(Settings.Default.SentenseColor);
      SquareSelectedBrush = new SolidBrush(Settings.Default.SquareSelectedColor);
      SquareErrorBrush = new SolidBrush(Settings.Default.SquareErrorColor);
      SquarePen = new Pen(Settings.Default.SquareColor);
      ArrowPen = new Pen(Settings.Default.ArrowColor, 4.0f);
      SquareHoverPen = new Pen(Settings.Default.SquareColor, 2.0f);
      LetterFont = Settings.Default.LetterFont;
    }

    public Brush BlackBrush { get; private set; }
    public Brush LetterBackgroundBrush { get; private set; }
    public Brush LetterBrush { get; private set; }
    public Brush NumberBrush { get; private set; }
    public Brush QuestionBrush { get; private set; }
    public Brush QuestionNotFitBrush { get; private set; }
    public Brush SentenseBrush { get; private set; }
    public Brush SquareSelectedBrush { get; private set; }
    public Brush SquareErrorBrush { get; private set; }

    public Pen ArrowPen { get; private set; }
    public Pen SquarePen { get; private set; }
    public Pen SquareHoverPen { get; private set; }
    public Font LetterFont { get; private set; }
  }
}